package cn.itsource.feign.order;


import cn.itsource.domain.order.vo.OrderPriceCountVO;
import cn.itsource.fallback.file.FileFeignFallBack;
import cn.itsource.fallback.order.OrderPriceCountFallBack;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

@FeignClient(value = "order-server",fallback = OrderPriceCountFallBack.class)
public interface OrderPriceCountFeignClient {

    @GetMapping("/OrderPriceCount")
    public List<OrderPriceCountVO> orderPriceCount();
}
